package com.cloud.salon.gateway.feign;

import com.cloud.salon.common.base.entity.menber.Staff;
import com.cloud.salon.common.base.response.Res;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Description 成员微服务feign
 * @Author wolf--LZH
 * @CreateDate 2019/5/7 0007 下午 3:33
 */
@FeignClient(value = "salon-menber")
public interface MenberFeign {

    @PostMapping(value = "/staff/findByUser")
    Res<Staff> findStaffByUser(Integer userId);
}
